#
# Copyright (C) 2017 MediaTek Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See http://www.gnu.org/licenses/gpl-2.0.html for more details.
#

ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/power_gs_v1/

obj-y += $(subst ",,$(CONFIG_MTK_PLATFORM))/
obj-$(CONFIG_MACH_MT6739) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6739) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6768) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6768) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6771) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6771) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6785) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6785) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6765) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6765) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6885) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6885) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6893) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6893) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6873) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6873) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6853) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6853) += mtk_power_gs_api.o
obj-$(CONFIG_MACH_MT6833) += mtk_power_gs.o
obj-$(CONFIG_MACH_MT6833) += mtk_power_gs_api.o
